package com.web.hotel.service;

import com.web.hotel.po.Room;

import javax.servlet.http.HttpServletRequest;
import java.util.Map;

public interface RoomService {
    public int saveOrUpdateRoom(Room room);
    public int deleteRoom(Room room);
    public Map<String, Object> listGrid(HttpServletRequest request);
    public Map<String, Object> deleteRoomById(String roomIds);
    public Map<String, Object> addRoom(Room room);
    public Room getRoomById(int RoomId);
    public Map<String, Object> editRoom(Room room);

    Room getRoomByRoomName(String roomName);
}
